package yunquan.wang.modules.customer.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import yunquan.wang.base.domain.AuditableEntity;
import yunquan.wang.modules.base.entity.UserBasic;

/**
 * 客户拜访记录
 * @author wang
 *
 */
@Entity
@Table(name = "C_CONTACTS_VIST")
public class ContactsVisitInfo extends AuditableEntity{
	/**
	 * 客户
	 */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PK_CONTACTS")
 private Contacts contacts;
 /**
  * 用户
  */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PK_USERBASIC")
 private UserBasic userBasic;
 /**
  * 拜访时间
  */
 private Date vistTime; 
 /**
  * 拜访内容
  */
 private String content;
 /**
  * 联系方式
  * 0，上门,1，电话，2，邮件
  */
 private Integer contactType;
 /**
  * 反馈内容
  */
 private String feedback;
 
 /**
  * 结论
  */
 private String result;

public Contacts getContacts() {
	return contacts;
}

public void setContacts(Contacts contacts) {
	this.contacts = contacts;
}

public UserBasic getUserBasic() {
	return userBasic;
}

public void setUserBasic(UserBasic userBasic) {
	this.userBasic = userBasic;
}

public Date getVistTime() {
	return vistTime;
}

public void setVistTime(Date vistTime) {
	this.vistTime = vistTime;
}

public String getContent() {
	return content;
}

public void setContent(String content) {
	this.content = content;
}

public Integer getContactType() {
	return contactType;
}

public void setContactType(Integer contactType) {
	this.contactType = contactType;
}

public String getFeedback() {
	return feedback;
}

public void setFeedback(String feedback) {
	this.feedback = feedback;
}

public String getResult() {
	return result;
}

public void setResult(String result) {
	this.result = result;
}
 
 
	
}
